package com.mercury.pattern._14_visitor;

public class Man implements Person {
    @Override
    public void accept(Action visit) {
        //调用访问者的方法
        visit.getManResult();
    }

}
